package com.daigg.hoteladmin.ex;

import com.daigg.hoteladmin.web.ServiceCode;

/**
 * @author daiyang
 */
public class ServiceException extends RuntimeException{

    private ServiceCode serviceCode;
    public ServiceException(ServiceCode serviceCode,String message) {
        super(message);
        this.serviceCode=serviceCode;
    }

    public ServiceCode getServiceCode() {
        return serviceCode;
    }

}
